package hlhj.fhp.newslib.javabean;

import java.util.List;

/**
 * Created by Never Fear   on 2018\11\2 0002.
 * Never More....
 */

public class AdVBean {

    /**
     * code : 1
     * message : 获取成功
     * data : [{"id":1,"type":1,"title":"测试","url":"/application/hlhj_news/uploads/video/1.mp4","ad_url":"https://www.baidu.com","is_show":1,"add_time":1540956909}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * type : 1
         * title : 测试
         * url : /application/hlhj_news/uploads/video/1.mp4
         * ad_url : https://www.baidu.com
         * is_show : 1
         * add_time : 1540956909
         */

        private int id;
        private int type;
        private String title;
        private String url;
        private String ad_url;
        private int is_show;
        private String add_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getAd_url() {
            return ad_url;
        }

        public void setAd_url(String ad_url) {
            this.ad_url = ad_url;
        }

        public int getIs_show() {
            return is_show;
        }

        public void setIs_show(int is_show) {
            this.is_show = is_show;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }
}
